<template>
	<view class="container">
		<view class="white-box3">
			<view class="left">
				<image src="/static//贴2.png" mode="aspectFill" class="left-image"></image>
			</view>
			<view class="right">
				<view class="title">手机贴膜</view>
				<view class="info1">移动营业厅 9:00-21:00</view>
				<view class="info2">专业贴膜</view>
				<view class="info3">立即预约</view>
			</view>
		</view>

		<view class="white-box4">
			<view class="left">
				<image src="/static//贴2.png" mode="aspectFill" class="left-image"></image>
			</view>
			<view class="right">
				<view class="title">电脑维修</view>
				<view class="info1">移动营业厅 9:00-21:00</view>
				<view class="info2">专业维修</view>
				<view class="info3">立即预约</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	.container {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		height: 100vh;
		/* 设置容器高度为100%视窗高度 */
		overflow: auto;
		/* 设置滚动条 */

	}

	.white-box3 {
		/* 添加 */
		position: absolute;
		top: 0rpx;
		z-index: 1;
		width: 90%;
		height: calc(100vh / 6);
		margin-top: 5%;
		background-color: white;
		border-radius: 30rpx;
		box-shadow: 0 10rpx 20rpx rgba(0, 0, 0, 0.1);
		display: flex;
	}

	.white-box4 {
		/* 添加 */
		position: absolute;
		top: 240rpx;
		z-index: 1;
		width: 90%;
		height: calc(100vh / 6);
		margin-top: 10%;
		background-color: white;
		border-radius: 30rpx;
		box-shadow: 0 10rpx 20rpx rgba(0, 0, 0, 0.1);
	}

	.left {
		position: absolute;
		top: 10%;
		left: 20rpx;
		width: 100%;
		display: flex;
		justify-content: flex-start;
		align-items: center;
	}

	.left-image {
		width: 170rpx;
		height: 170rpx;
		border-radius: 30rpx;

	}

	.right {
		position: absolute;
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-left: 10px;
	}

	.title {
		position: absolute;
		top: 20rpx;
		left: 33%;
		font-size: 32rpx;
		font-weight: bold;
	}

	.info1 {
		position: absolute;
		top: 45rpx;
		left: 32%;
		font-size: 25rpx;
		color: #848484;
		padding: 12rpx;
		margin-top: 5px;
	}

	.info2 {
		position: absolute;
		top: 80rpx;
		left: 31%;
		font-size: 28rpx;
		font-weight: 300;
		font-family: "黑体", sans-serif;
		color: #000;
		padding: 20rpx;
		margin-top: 5px;
	}

	.info3 {
		position: absolute;
		bottom: 0;
		right: 4%;
		font-size: 30rpx;
		font-weight: bold;
		font-family: "黑体", sans-serif;
		color: #0b6dff;
		padding: 20rpx;

	}
	.grid-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-top: 30rpx;
	}
	
	.grid-item {
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		margin: 30rpx;
	}
	
	.grid-icon {
		width: 100rpx;
		height: 100rpx;
	}
	
	.grid-text {
		margin-top: 20rpx;
		font-size: 28rpx;
	}
</style>